/*
 * Copyright (c) 2019 , Healthlink All Rights Reserved.
 */

package com.mayday.system.domain;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 流程流转vo
 *
 * @author lxq
 * @version 1.0
 * @date 2020/4/2 18:50
 * @since JDK 1.8+
 */
@Getter
@Setter
@NoArgsConstructor
public class EmdcFlowVo implements Serializable {
    private static final long serialVersionUID = 2694811896351955324L;

    private String businessKey;
    private Integer pass;
    private String note;
    private String userId;
    private String staffId;
    private String staffName;
    private String centerId;
    private String taskId;
    private String defId;
    private Date createTime = new Date();
    private Boolean isFirst = true;
    private String processInstanceId;
    private String active;
    private String activeNode;
    private String orgId;


    public EmdcFlowVo(String staffId, String centerId) {
        this.staffId = staffId;
        this.centerId = centerId;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
